package com.yorick.authority.modal.request.account;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class AccountEditRequest extends AccountAddRequest {
    @JsonProperty("aid")
    @NotNull
    private int aid;
    @JsonProperty("enabled")
    @Max(1)
    private int enabled;
}
